
import { Navigate } from "react-router"
import Login from "@/pages/Login"
import Register from "@/pages/Register"
import Home from "@/pages/Home"

// eslint-disable-next-line
export default [
    { key: 'home', exact: true, path: '/home', element: <Home /> },
    { key: 'login', exact: true, path: '/login', element: <Login /> },
    { key: 'register', exact: true, path: '/register', element: <Register /> },
    { key: 'other', exact: true, path: '*', element: <Navigate to='/login' /> },
]